
package com.xbongbong.saas.domain.dao;

import com.xbongbong.saas.domain.entity.MsgLogEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2018-07-23 11:31:42
*/
@Repository
@Mapper
public interface MsgLogDao {


	Integer insert(MsgLogEntity msgLog);
	Integer update(MsgLogEntity msgLog);

	void insertBatch(List<MsgLogEntity> msgLogList);

	Integer deleteByKey(@Param("key") Integer key, @Param("corpid") String corpid);
	MsgLogEntity getByKey(@Param("key") Integer key, @Param("corpid") String corpid);


	List<MsgLogEntity>  findEntitys(@Param("param") Map<String, Object> param);
	Integer getEntitysCount(@Param("param") Map<String, Object> param);



}